//
//  admanager.h
//  admanager
//
//  Created by chit on 4/3/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//


#import "Nextpeer/Nextpeer.h"
#import <UIKit/UIViewController.h>
#import <Foundation/Foundation.h>


@protocol  OC_NPDelegate  <NSObject>


- (void)nextpeerDidTournamentStartWithDetails:(NPTournamentStartDataContainer *)tournamentContainer;
- (void)nextpeerDidTournamentEnd;
- (BOOL)shouldAllowInterGameScreen;
- (void)nextpeerWillHideToShowInterGameScreen;
- (BOOL)nextpeerSupportsTournamentWithId:(NSString* )tournamentUuid;


@end


@interface OC_NPmanager :  NSObject 
{
    id <OC_NPDelegate, NSObject> delegate;
    
     NSString*           m_CurrentLevelID;
}

- (void) Init :(NSString*) Key;
- (void) ReportScore : (int) Score;
- (void) LaunchDashBoard;

// Tournament
- (void) ReportForfeitForCurrentTournament;
- (void) ReportControlledTournamentOver:(int) Score;
- (void) SetCurrentTournament : (NSString*) LevelID;
- (BOOL)nextpeerShouldShowWelcomeBanner;



@end
